<?php
class Exts_Db_Table_Row_PropertyRow extends Exts_Db_Table_Row_Abstract{

	protected $_foreignKey = "foreign_id";
	
	public function setKey ($key) {
		$this->key = $key;
	}
	public function getKey () {
		return $this->key;
	}
	public function setValue ($value) {
		$this->value = $value;
	}
	public function getValue () {
		return $this->value;
	}
	public function setForeignId ($foreignId) {
		$foreignIdName = $this->_foreignKey;
		$this->$foreignIdName = $foreignId;
	}
	
	public function getForeignId () {
		return $this->$foreignIdName;
	}
	
	public function setForeignTable ($table){ 
		$this->_foreignTable = $table;
	}

}